<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>后台首页</title>
    <link rel="stylesheet" href="__BOOTSTRAP__.min.css" />
    <link rel="stylesheet" href="__BOOTSTRAP__-rtl.css" />
    <script type="text/javascript" src="__JS__"></script>
    <script type="text/javascript" src="__BSJS__"></script>
    <script type="text/javascript" src="__lJS__"></script>
</head>
<body>
<nav class="navbar navbar-inverse">
    <div class="container">
        <!-- Brand and toggle get grouped for better mobile display -->
        <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="#">بىلوگ سېستىىسى </a>
        </div>

        <!-- Collect the nav links, forms, and other content for toggling -->
        <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
            <ul class="nav navbar-nav">
                <li <if condition="CONTROLLER_NAME eq 'Index'">class="active"</if>><a href="{:U('Index/index')}">باشبەت <span class="sr-only">(current)</span></a></li>
                <li <if condition="CONTROLLER_NAME eq 'Category'">class="active"</if>><a href="{:U('Category/index')}">مەزمۇن</a></li>
                <li <if condition="CONTROLLER_NAME eq 'User'">class="active"</if>><a href="{:U('User/index')}">باشقۇرغۇچىلار</a></li>
                <li <if condition="CONTROLLER_NAME eq 'Navs'">class="active"</if>><a href="{:U('Navs/index')}">ئىقتىدار</a></li>
            </ul>
            <ul class="nav navbar-nav navbar-right">
                <li><a href="__APP__" target="_blank">ئالدى بەت</a></li>
                <li class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">ياخشىمۇسىز {$sessions['auser']}<span class="caret"></span></a>
                    <ul class="dropdown-menu">
                        <?php $a_aid=$sessions['aid'] ?>
                         <li><a href="{:U('User/edit',array('aid'=>$a_aid))}">ئارخىب تەھرىرلەش</a></li>
                        <li><a href="{:U('Index/logout')}">بىخەتەر چېكىنىش </a></li>
                    </ul>
                </li>
            </ul>
        </div><!-- /.navbar-collapse -->
    </div><!-- /.container-fluid -->
</nav>